package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.web.multipart.MultipartFile;

/**
 * 药品对象 展示页面信息
 * 
 * @author jiashu
 * @date 2025-03-13
 */
public class SysMedicinesVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long medicineId;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String medicineName;

    /** 功效 */
    @Excel(name = "药品功效")
    private String efficacy;

    /** 用量 */
    @Excel(name = "药品用量")
    private String usageDosage;

    /** 库存量 */
    @Excel(name = "药品库存")
    private Double stockQuantity;

    /** 分类id */

    private Long classificationId;

    /** 药品单位 */
    @Excel(name = "单位")
    private String medicineUnit;

    /** 状态 0待审核 1已审核 2 驳回 */
    @Excel(name = "状态")
    private String status;

    /** 图片指纹 */
    private String imageMd5;

    /** 图片下载地址 */
    private String imageDownloadUrl;

    /** 图片预览地址 */
    private String imagePreviewUrl;
    /* 分类名称 */
    @Excel(name = "药品分类")
    private String classificationName;

    @Excel(name = "单价")
    private Double price;

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getClassificationName() {
        return classificationName;
    }

    public void setClassificationName(String classificationName) {
        this.classificationName = classificationName;
    }

    public void setMedicineId(Long medicineId)
    {
        this.medicineId = medicineId;
    }

    public Long getMedicineId() 
    {
        return medicineId;
    }
    public void setMedicineName(String medicineName) 
    {
        this.medicineName = medicineName;
    }

    public String getMedicineName() 
    {
        return medicineName;
    }
    public void setEfficacy(String efficacy) 
    {
        this.efficacy = efficacy;
    }

    public String getEfficacy() 
    {
        return efficacy;
    }
    public void setUsageDosage(String usageDosage) 
    {
        this.usageDosage = usageDosage;
    }

    public String getUsageDosage() 
    {
        return usageDosage;
    }
    public void setStockQuantity(Double stockQuantity)
    {
        this.stockQuantity = stockQuantity;
    }

    public Double getStockQuantity()
    {
        return stockQuantity;
    }
    public void setClassificationId(Long classificationId) 
    {
        this.classificationId = classificationId;
    }

    public Long getClassificationId() 
    {
        return classificationId;
    }
    public void setMedicineUnit(String medicineUnit) 
    {
        this.medicineUnit = medicineUnit;
    }

    public String getMedicineUnit() 
    {
        return medicineUnit;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setImageMd5(String imageMd5) 
    {
        this.imageMd5 = imageMd5;
    }

    public String getImageMd5() 
    {
        return imageMd5;
    }
    public void setImageDownloadUrl(String imageDownloadUrl) 
    {
        this.imageDownloadUrl = imageDownloadUrl;
    }

    public String getImageDownloadUrl() 
    {
        return imageDownloadUrl;
    }
    public void setImagePreviewUrl(String imagePreviewUrl) 
    {
        this.imagePreviewUrl = imagePreviewUrl;
    }

    public String getImagePreviewUrl() 
    {
        return imagePreviewUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("medicineId", getMedicineId())
            .append("medicineName", getMedicineName())
            .append("efficacy", getEfficacy())
            .append("usageDosage", getUsageDosage())
            .append("stockQuantity", getStockQuantity())
            .append("classificationId", getClassificationId())
            .append("medicineUnit", getMedicineUnit())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .append("imageMd5", getImageMd5())
            .append("imageDownloadUrl", getImageDownloadUrl())
            .append("imagePreviewUrl", getImagePreviewUrl())
            .toString();
    }
}
